package com.entity.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotations.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author mgl
 * @version 1.0
 * @description 获奖情况的包装类 增添更多信息
 * @date 2024/4/10 15:00
 */
@Data
@ApiModel("AwardCaseVo 申报获奖情况包装类")
public class AwardCaseVo implements Serializable {
    @ApiModelProperty(value = "id 对应索引", example = "1")
    @ExcelProperty("id")
    private Integer id;

    @ApiModelProperty(value = "竞赛id", example = "1")
    @ExcelIgnore
    private Long contestId;

    @ApiModelProperty(value = "竞赛名称", example = "省赛 蓝桥杯")
    @ExcelProperty("竞赛名称")
    private String contestName; //竞赛名称

    @ApiModelProperty(value = "竞赛类型id", example = "1")
    @ExcelIgnore
    private Integer contestTypeId;

    @ApiModelProperty(value = "竞赛类型名称 对应ABC类竞赛", example = "A类")
    @ExcelProperty("竞赛类别")
    private String contestTypeName; // 竞赛类别名称

    @ApiModelProperty(value = "学生id", example = "1")
    @ExcelIgnore
    private Integer studentId; // 学生id

    @ApiModelProperty(value = "学生姓名", example = "良")
    @ExcelProperty("学生姓名")
    private String studentName; //学生姓名

    @ApiModelProperty(value = "几等奖 123对应123等奖", example = "1")
    @ExcelProperty("获奖情况(几等奖)")
    private Integer contestPrice; // 几等奖

    @ApiModelProperty(value = "文件路径 对应上传的获奖照片", example = "a.jpg")
    @ExcelIgnore
    private String filePath;

    @ApiModelProperty(value = "审核状态 0在审核中 1通过 -1未通过", example = "1")
    @ExcelIgnore
    private Integer status;

    @ApiModelProperty(value = "审核意见", example = "证书是假的")
    @ExcelProperty("审核意见")
    private String suggestion;

    @ExcelProperty("学分")
    private Float credits;
}
